<form class="example-form">
  <div (click)="change()">
    <nova-edit-switch  [flag]="video.isDeleted" #is >
        
    </nova-edit-switch>
    </div>

    <p>评论用户名字</p>
    <ng-edit-pointer 
    [(value)]="video.user" 
    [className]="'_User'"
    [searchCol]="'nickname'"
    ></ng-edit-pointer>

    <p>评论用户头像</p>
    <ng-edit-pointer 
    [(value)]="video.user" 
    [className]="'_User'"
    [searchCol]="'avatar'"
    ></ng-edit-pointer>

    <mat-form-field class="example-full-width">
      <mat-label>标题</mat-label>
      <input type="string" [(ngModel)]="video.content" matInput placeholder="" [ngModelOptions]="{standalone: true}">
    </mat-form-field>

    <mat-form-field class="example-full-width">
        <mat-label>视频封面</mat-label>
        <input type="string" [(ngModel)]="video.img" matInput placeholder="" [ngModelOptions]="{standalone: true}">
      </mat-form-field>

      <mat-form-field class="example-full-width">
        <mat-label>播放量</mat-label>
        <input type="number" [(ngModel)]="video.countLike" matInput placeholder="" [ngModelOptions]="{standalone: true}">
      </mat-form-field>

      <mat-form-field class="example-full-width">
        <mat-label>评论量</mat-label>
        <input type="number" [(ngModel)]="video.countComment" matInput placeholder="" [ngModelOptions]="{standalone: true}">
      </mat-form-field>


      <mat-form-field class="example-full-width">
        <mat-label>粉丝数</mat-label>
        <input type="number" [(ngModel)]="video.fans" matInput placeholder="" [ngModelOptions]="{standalone: true}">
      </mat-form-field>


      <mat-form-field class="example-full-width">
        <mat-label>Bv号</mat-label>
        <input type="string" [(ngModel)]="video.bvId" matInput  [ngModelOptions]="{standalone: true}">
      </mat-form-field>

      <button (click)="save()" mat-raised-button color="primary" class="example-full-width">保存</button>
      <button (click)="back()" mat-raised-button class="example-full-width">返回</button>
      

  </form>
